package com.cnyz.vo;

import com.cnyz.base.BaseDto;
import com.cnyz.base.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Email;

@Data
@ApiModel(description = "用户数据传输对象")

public class UserVo extends BaseVo {
    @ApiModelProperty(value = "用户名")
    String username;

    @ApiModelProperty(value = "密码")
    String password;

    @ApiModelProperty(value = "邮箱")
    String email;

    @ApiModelProperty(value = "类型 (0:学生 1:老师)")
    Integer role;



}
